


<nav class="navbar navbar-inverse" role="navigation">
  <!-- Brand and toggle get grouped for better mobile display -->
  <div class="navbar-header">
    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
      <span class="sr-only">Toggle navigation</span>
      <span class="fa fa-bar"></span>
      <span class="fa fa-bar"></span>
      <span class="fa fa-bar"></span>
    </button>
    <a class="navbar-brand" href="index.php">DJOA_<i class="fa fa-pencil"></i></a>
  </div>

  <div class="row">
  <!-- Collect the nav links, forms, and other content for toggling -->
  <div class="collapse navbar-collapse ">
	<div class="col-lg-offset-4">
    <ul class="nav navbar-nav">
	<?php 
	$url=basename($_SERVER['REQUEST_URI']);
	if($url=='photos.php'){
	  echo '<li class=""><a href="index.php"><i class="fa fa-home"></i> Accueil</a></li>
	  <li class=""><a href="news.php" ><i class="fa fa-edit"></i> News</a></li>
	  <li class="active"><a href="photos.php" ><i class="fa fa-camera"></i> Photos</a></li>
	  <li class=""><a href="artistes.php"><i class="fa fa-user"></i> Les artistes</a></li>
	  <li class=""><a href="contact.php"><i class="fa fa-envelope"></i> Contact</a></li>
	  <li class=""><a href="admin.php"><i class="fa fa-cogs"></i></a></li>';
	}else if($url=='artistes.php'){
      echo '<li class=""><a href="index.php"><i class="fa fa-home"></i> Accueil</a></li>
	  <li class=""><a href="news.php" ><i class="fa fa-edit"></i> News</a></li>
	  <li class=""><a href="photos.php" ><i class="fa fa-camera"></i> Photos</a></li>
	  <li class="active"><a href="artistes.php"><i class="fa fa-user"></i> Les artistes</a></li>
	  <li class=""><a href="contact.php"><i class="fa fa-envelope"></i> Contact</a></li>
	  <li class=""><a href="admin.php"><i class="fa fa-cogs"></i></a></li>';
	}else if($url=='contact.php'){
      echo '<li class=""><a href="index.php"><i class="fa fa-home"></i> Accueil</a></li>
	  <li class=""><a href="news.php" ><i class="fa fa-edit"></i> News</a></li>
	  <li class=""><a href="photos.php" ><i class="fa fa-camera"></i> Photos</a></li>
	  <li class=""><a href="artistes.php"><i class="fa fa-user"></i> Les artistes</a></li>
	  <li class="active"><a href="contact.php"><i class="fa fa-envelope"></i> Contact</a></li>
	  <li class=""><a href="admin.php"><i class="fa fa-cogs"></i></a></li>';
	}else if($url=='admin.php'){
	echo '<li class=""><a href="index.php"><i class="fa fa-home"></i> Accueil</a></li>
	<li class=""><a href="news.php" ><i class="fa fa-edit"></i> News</a></li>
	  <li class=""><a href="photos.php" ><i class="fa fa-camera"></i> Photos</a></li>
	  <li class=""><a href="artistes.php"><i class="fa fa-user"></i> Les artistes</a></li>
	  <li class=""><a href="contact.php"><i class="fa fa-envelope"></i> Contact</a></li>
	  <li class="active"><a href="admin.php"><i class="fa fa-cogs"></i></a></li>';
      
	}else if($url=='news.php'){
	echo '<li class=""><a href="index.php"><i class="fa fa-home"></i> Accueil</a></li>
	<li class="active"><a href="news.php" ><i class="fa fa-edit"></i> News</a></li>
	  <li class=""><a href="photos.php" ><i class="fa fa-camera"></i> Photos</a></li>
	  <li class=""><a href="artistes.php"><i class="fa fa-user"></i> Les artistes</a></li>
	  <li class=""><a href="contact.php"><i class="fa fa-envelope"></i> Contact</a></li>
	  <li class=""><a href="admin.php"><i class="fa fa-cogs"></i></a></li>';
      
	}else{
		echo '<li class="active"><a href="index.php"><i class="fa fa-home"></i> Accueil</a></li>
		<li class=""><a href="news.php" ><i class="fa fa-edit"></i> News</a></li>
	  <li class=""><a href="photos.php" ><i class="fa fa-camera"></i> Photos</a></li>
	  <li class=""><a href="artistes.php"><i class="fa fa-user"></i> Les artistes</a></li>
	  <li class=""><a href="contact.php"><i class="fa fa-envelope"></i> Contact</a></li>
	  <li class=""><a href="admin.php"><i class="fa fa-cogs"></i></a></li>';
	}
	
	?>
    </ul>
	</div>
  </div><!-- /.navbar-collapse -->
  </div>
</nav>